package cn.linran.org.mapper;

import cn.linran.basic.mapper.BaseMapper;
import cn.linran.org.domain.Employee;
import cn.linran.org.domain.Shop;
import cn.linran.org.dto.ShopDto;

import java.util.List;

/**
 * 商店mapper层
 */
public interface ShopMapper extends BaseMapper<Shop> {


    /**
     * 查询表中是否有地址名字相同shop
     * @param shop
     */
     Shop getShopByMessage(Shop shop);

    /**
     * 得到echarts数据
     * @return
     */
    List<ShopDto> getEcharts();
}
